package com.dmap.knowledge.controller.api.param;

import com.dmap.knowledge.po.ArticleTag;

import java.io.Serializable;

/**
 * article 标签参数
 */
public class ArticleTagParam implements Serializable {
    private String tagTypeId;       //标签类别id
    private String tagTypeName;     //标签类别名称
    private String tagId;           //标签id
    private String tagName;         //标签名称
    
    public ArticleTagParam() {
    }
    
    public ArticleTagParam(String tagTypeId, String tagTypeName, String tagId, String tagName) {
        this.tagTypeId = tagTypeId;
        this.tagTypeName = tagTypeName;
        this.tagId = tagId;
        this.tagName = tagName;
    }
    
    public ArticleTagParam(ArticleTag articleTag) {
        this.tagTypeId = articleTag.getTagTypeId().toString();
        this.tagTypeName = articleTag.getTagTypeName();
        this.tagId = articleTag.getTagId().toString();
        this.tagName = articleTag.getTagName();
    }
    
    public String getTagTypeId() {
        return tagTypeId;
    }
    
    public void setTagTypeId(String tagTypeId) {
        this.tagTypeId = tagTypeId;
    }
    
    public String getTagTypeName() {
        return tagTypeName;
    }
    
    public void setTagTypeName(String tagTypeName) {
        this.tagTypeName = tagTypeName;
    }
    
    public String getTagId() {
        return tagId;
    }
    
    public void setTagId(String tagId) {
        this.tagId = tagId;
    }
    
    public String getTagName() {
        return tagName;
    }
    
    public void setTagName(String tagName) {
        this.tagName = tagName;
    }
    
    
}
